//
// Created by liushuai on 18-8-8.
//

#ifndef EX13_TEACHER_HPP
#define EX13_TEACHER_HPP

#include <string>
#include "Person.hpp"
class Teacher : public Person{
public:
    std::string uni;
    std::string number;
public:
    Teacher(std::string u="null",std::string num="9527",std::string n="null",int a=0);
    Teacher(std::string u,std::string num,Person &p);
    std::string & get_uni() ;
    std::string & get_number();
    friend std::ostream &operator<<(std::ostream os,Teacher & t);
    Teacher &operator=(const Teacher &t);
    virtual ~Teacher();
};
#endif //EX13_TEACHER_HPP
